home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / nano / sh.nanorc < prev    next >
Text File  |  2009-03-30  |  654b  |  14 lines

  1. ## Here is an example for Bourne shell scripts.
  2. ##
  3. syntax "sh" "\.sh$"
  4. icolor brightgreen "^[0-9A-Z_]+\(\)"
  5. color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
  6. color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
  7. color green "-[Ldefgruwx]\>"
  8. color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
  9. color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>"
  10. icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
  11. color cyan "(^|[[:space:]])#.*$"
  12. color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
  13. color ,green "[[:space:]]+$"
  14.